package com.kaibes.core.base.thread;

public abstract class RunThreadImpl implements RunThread {
    
    private volatile boolean flag;

    @Override
    public boolean isRunning() {
        return flag;
    }
    
    @Override
    public void setRunning() {
        flag = true;
    }

    @Override
    public void stop() {
        flag = false;
    }

}
